cc.Class({
    extends: cc.Component,

    properties: {
        text: cc.Label,
        rate: {
            set(value) {
                this.text.string = '' + value
            }
        }
    },

    // use this for initialization
    onLoad: function () {

    },

    // called every frame, uncomment this function to activate update callback
    // update: function (dt) {

    // },

});
